<template>
  <div style="margin-bottom: 10px;">
    <a-collapse v-bind="item.conf" defaultActiveKey="0">
      <a-collapse-panel :header="item.subItem.name" key="0">
        <div style="min-height: 50px;">
          <form-designer :parent-id="item.id" :item="item.subItem.children" class="drag-full" :data="data"></form-designer>
        </div>
      </a-collapse-panel>
    </a-collapse>
  </div>
</template>

<script>
  export default {
    props: {
      item: {},
      data: {},
    },
  };
</script>

<style scoped></style>
